<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="layui-form timo-compile">
    <form>
        <th:block th:if="${states==1}">
            <div class="layui-form-item">
                <label class="layui-form-label" style="color: red;padding-left: 34px;font-size: 16px;">
                    <span>审核不通过</span>
                    </label>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">原因:</label>
                <div class="layui-input-inline">
                    <div class="layui-form-mid" th:text="${remark}"></div>
                </div>
            </div>
        </th:block>

        <th:block th:if="${states==2}">
            <div class="layui-form-item">
                <label class="layui-form-label" style="color: green;padding-left: 34px;font-size: 20px;">审核通过</label>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">凭证单号:</label>
                <div class="layui-form-mid" th:text="${oldCode}"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">消费金额:</label>
                <div class="layui-form-mid" th:text="${amount}"></div><span style="margin-top: 8px;display: inline-block;">元</span>
            </div>
        </th:block>
    </form>
</div>
</body>
</html>